import request from "@/utils/request";

// 查询融享客客户订单列表
export function listBizRxkOrder(query) {
  return request({
    url: "/biz/bizRxkOrder/list",
    method: "get",
    params: query,
  });
}

// 查询融享客客户订单详细
export function getBizRxkOrder(id) {
  return request({
    url: "/biz/bizRxkOrder/" + id,
    method: "get",
  });
}

// 新增融享客客户订单
export function addBizRxkOrder(data) {
  return request({
    url: "/biz/bizRxkOrder",
    method: "post",
    data: data,
  });
}

// 修改融享客客户订单
export function updateBizRxkOrder(data) {
  return request({
    url: "/biz/bizRxkOrder",
    method: "put",
    data: data,
  });
}

// 删除融享客客户订单
export function delBizRxkOrder(id) {
  return request({
    url: "/biz/bizRxkOrder/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizRxkOrder/findMaxSort",
    method: "get",
  });
}
// 导出融享客客户订单
export function exportBizRxkOrder(query) {
  return request({
    url: "/biz/bizRxkOrder/export",
    method: "get",
    params: query,
  });
}
